Skip to content

fix: 修复请求ID和尝试ID的占位符格式,确保多语言支持一致性#91

Merged
awsl233777 merged 1 commit intoawsl-project:mainfrom
whhjdi:fix/i18n
Jan 16, 2026
Merged

fix: 修复请求ID和尝试ID的占位符格式,确保多语言支持一致性#91
awsl233777 merged 1 commit intoawsl-project:mainfrom
whhjdi:fix/i18n

Conversation

@whhjdi
Copy link
Contributor

@whhjdi whhjdi commented Jan 16, 2026

Summary by CodeRabbit

Bug Fixes

  • 更新了英文和中文本地化中请求ID与尝试ID的显示格式
  • 修正了中文本地化中的术语翻译

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

总体概述

本次变更更新了英文和中文本地化文件中的占位符语法,将 ${id} 替换为 {{id}},并修正了中文翻译中的一处术语("上流" → "上游")。

变更详情

文件群组 / 文件 变更摘要
本地化占位符更新
web/src/locales/en.json, web/src/locales/zh.json
将请求ID和尝试ID的占位符语法从模板字符串 ${id} 转换为Mustache风格 {{id}};同时修正中文文件中 compareBody 的术语从"上流"改为"上游"

相关的PR

建议的审阅者

  • liril-net
  • awsl233777

诗歌

🐰 占位符化身新模样,
从花括号到双花括号,
本地化的小调整,
让翻译更加优雅,
上游之路更通畅!


🎯 1 (Trivial) | ⏱️ ~5 分钟



📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4cff019 and 1064177.

📒 Files selected for processing (2)
  • web/src/locales/en.json
  • web/src/locales/zh.json

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@awsl233777 awsl233777 merged commit 3f4bd72 into awsl-project:main Jan 16, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants